<?php echo("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"); ?>
<feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
    <title><?php echo sfConfig::get('app_general_system_name') ?> - Search Results for <?php echo $queryString ?></title>
    <?php if ($searchResults != null): ?>
    <?php if ($searchResults->count() > 0): ?>
    <?php foreach ($searchResults as $collection): ?>
                <entry>
                    <title><?php echo $collection ?></title>
                    <link href="<?php echo url_for('@CollectionShow?uin='.$collection->getUin(),true) ?>"/>
                    <id><?php echo $collection->getUin() ?></id>
                    <updated><?php echo $collection->getUpdatedAt() ?></updated>
                    <summary type="xhtml">
                        <?php echo $collection->getSummary() ?>
                    </summary>
                </entry>
    <?php endforeach; ?>
    <?php endif; ?>
    <?php endif; ?>
            </feed>            